import sys
import numpy as np
import os
import re

if __name__ == "__main__":
    int32_repo_path = sys.argv[1]
    fp32_repo_path = sys.argv[2]
    with open(int32_repo_path, 'r') as file_int32, open(fp32_repo_path, 'r') as file_fp32:
        res = []
        for line_i32 in file_int32:
            line_f32 = file_fp32.readline()
            items_i32 = line_i32.split()
            items_f32 = line_f32.split()
            items_i32[9] += "_int32"
            items_i32[11] += "_int32"
            items_f32[9] += "_fp32"
            res = items_i32[0:13] + items_f32[9:11]
            print(" ".join(res))
            # #  m 300000 n 81 k 384 loop 2300 zhhao_qps 124.4 cublas_qps 566.4 speedup 0.2
